<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>学生注册</title>
</head>
<body>
<form action="RequestServlet2" method="post">
  姓名：<input type="text" name="username"> <br>
  密码：<input type="password" name="password"> <br>
  爱好：<input type="checkbox" name="hobby" value="study">学习
  <input type="checkbox" name="hobby" value="game">游戏 <br>
  <button type="submit">注册</button>
</form>
</body>
</html>